/**
 * 
 */
package com.tianqi.rms.util;

/**
 *
 *                #####################################################
 *                #                                                   #
 *                #                       _oo0oo_                     #
 *                #                      o8888888o                    #
 *                #                      88" . "88                    #
 *                #                      (| -_- |)                    #
 *                #                      0\  =  /0                    #
 *                #                    ___/`---'\___                  #
 *                #                  .' \\|     |# '.                 #
 *                #                 / \\|||  :  |||# \                #
 *                #                / _||||| -:- |||||- \              #
 *                #               |   | \\\  -  #/ |   |              #
 *                #               | \_|  ''\---/''  |_/ |             #
 *                #               \  .-\__  '-'  ___/-. /             #
 *                #             ___'. .'  /--.--\  `. .'___           #
 *                #          ."" '<  `.___\_<|>_/___.' >' "".         #
 *                #         | | :  `- \`.;`\ _ /`;.`/ - ` : | |       #
 *                #         \  \ `_.   \_ __\ /__ _/   .-` /  /       #
 *                #     =====`-.____`.___ \_____/___.-`___.-'=====    #
 *                #                       `=---='                     #
 *                #     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   #
 *                #                                                   #
 *                #               佛祖保佑         永无BUG              #
 *                #                        						      #
 *                #####################################################
 *								yanglong : Dec 18, 2018 7:15:17 PM 尊上
 */
public enum SmsTypeEnum {
	//获取验证码
	VERIFYCODE, 
	//用户预约
	USERBOOKING,
	//理发师预约
	ACCEPT,
	//用户取消
	USERCANCEL,
	//理发师取消
	CANCEL;

	
	
	/**
	 * 获取枚举的中文含义
	 * */
	public static int getTypeId(SmsTypeEnum type) {
		switch(type){
			case VERIFYCODE:	return 1;
			case USERBOOKING:	return 212;
			case ACCEPT:	return 211;
			case USERCANCEL:	return 222;
			case CANCEL:	return 221;
			default: {
				return 0;
			}
		}
	}
	
}
